CharacterInkBox

data class CharacterInkBox(val x: Float, val y: Float, val width: Float, val height: Float, val baselineY: Float)

Tight ink-paint bounding box of a single grapheme, in global scene coordinates.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, width: Float, height: Float, baselineY: Float)

Properties

Link copied to clipboard

Global Y of the glyph baseline (needed for underline/cursor overlays).

Link copied to clipboard

Height of the tight ink rect.

Link copied to clipboard

Width of the tight ink rect.

Link copied to clipboard
val x: Float

Global X of the tight ink rect (left edge, Y-down scene space).

Link copied to clipboard
val y: Float

Global Y of the tight ink rect (top edge, Y-down scene space).